<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<ui:composition template="../../template/template.xhtml">
		
		<ui:define name="header">Novo Tópico</ui:define>
		<ui:define name="body">
		
		
			<p:panel>
				<p:messages id="messages"></p:messages>
				<h:panelGrid columns="2">
				
				
					<h:outputText  styleClass="ui-widget" value="Título" />
					<p:inputText value="#{topicoBean.topicoVO.titulo}"></p:inputText>
					
					<h:outputText  styleClass="ui-widget" value="Mensagem" />
					<p:inputTextarea value="#{topicoBean.topicoVO.mensagem}" effectDuration="" autoResize="" maxHeight=""></p:inputTextarea>
					
					<h:outputText styleClass="ui-widget" value="Tags" />
					<p:inputText value="#{topicoBean.topicoVO.tags}"></p:inputText>
					
					
				
				</h:panelGrid>
			<p:commandButton update="messages" actionListener="#{topicoBean.save}"></p:commandButton>
			</p:panel>
		
		
		</ui:define>

	</ui:composition>

</html>